package com.atguigu.lease.common.constant;

/**
 * @author chengke
 * @version 1.0
 * @className RedisConstant
 * @description redis配置常量
 * @date 2024/8/27 21:14
 */
public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";

    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;

    public static final String APP_LOGIN_PREFIX = "app:login:";

    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;

    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60*10;

    public static final String APP_ROOM_PREFIX = "app:room:";

}